reftests: Don't crash if no node
authorBenjamin Otte <otte@redhat.com>
Thu, 21 Oct 2021 01:06:56 +0000 (03:06 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 22 Oct 2021 15:51:40 +0000 (17:51 +0200)
commit438bf8596e9a5c8bda10f5378fd2a44ee89e7386
treeee4530bf53e3cef47d08d23e685f060871bbec55
parentb912e84df7ef7c0a4c298ea9f712cc5bf5f4aa82
reftests: Don't crash if no node

If we have no node, don't crash when trying to save the node file.

Instead, write an empty file.
testsuite/reftests/gtk-reftest.c